package com.yyk.yykywd.mvvm.adapter

import android.content.Context
import android.widget.TextView
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import com.yyk.yykywd.R
import com.yyk.yykywd.mvvm.entity.AgentListBean
import com.yyk.yykywd.mvvm.entity.MeetingDetailBean

/**
 * 文件描述：
 * Created by guo on 2019-11-19.
 */
class ContractAdapter(private val context: Context,
                      layoutResId: Int,
                      data: List<AgentListBean.Data>) : BaseQuickAdapter<AgentListBean.Data, BaseViewHolder>(layoutResId, data) {
    override fun convert(helper: BaseViewHolder, item: AgentListBean.Data) {
//        helper.setText(R.id.tv_founder, "业务创建人：" + item.uname)
//        helper.setText(R.id.tv_name, item.name)
//        val tvName: TextView = helper.getView(R.id.tv_name)
//        if (item.client_type == 1) {
//            tvName.setCompoundDrawablesWithIntrinsicBounds(R.drawable.icon_yy, 0, 0, 0)
//        } else {
//            tvName.setCompoundDrawablesWithIntrinsicBounds(R.drawable.icon_dls, 0, 0, 0)
//        }
    }

}